home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / FILE2VAR.HDR < prev    next >
Text File  |  1994-04-25  |  1KB  |  43 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _File2Var(cFileName) --> xVariable
  8.  
  9. PARAMETERS:
  10.  
  11. cFileName : File NAME, previously created by the _Var2File() function.
  12.  
  13. SHORT:
  14.  
  15. Retrieve variable values from disk file written by _Var2File().
  16.  
  17. DESCRIPTION:
  18.  
  19. See _Var2File() for a complete discussion of these two functions.
  20.  
  21. _File2Var() reads the data file specified in cFileName and returns the
  22. value of the data stored therein.  It is useful and meaningful only when
  23. used in combination with variables that have been stored to disk with
  24. the _Var2File() function.
  25.  
  26. NOTE:
  27.  
  28. See also: _Array2Str(), _Str2Array(), _Var2File()
  29.  
  30. EXAMPLE:
  31.  
  32. cString = "THIS IS A STRING"
  33.  
  34. _Var2File(cString,"FILE.EXT")
  35.  
  36. cString = ""
  37.  
  38. cString = _File2Var("FILE.EXT")
  39.  
  40. Result: cString = "THIS IS A STRING"
  41.  
  42. ******************************************************************************/
  43.